<style lang="scss">
	/* 注意要写在第一行，同时给style标签加入lang="scss"属性 */
	@import "@/uni_modules/uview-ui/index.scss";
</style>

<script>
	export default {
		globalData: {
			value: 0
		},
		onLaunch: function() {
			console.log('App Launch')
			console.log('启动完成');
			uni.hideTabBar()
			// uni.navigateTo({
			// 	url:'./subpkg/goods_detail/goods_detail?goods_id=395'
			// })
		},
		onShow: function() {
			console.log('App Show')
			uni.hideTabBar()
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style lang="scss">
	/*每个页面公共css */
	@import '@/uni_modules/uni-scss/index.scss';
	/* #ifndef APP-NVUE */
	@import '@/static/customicons.css';
	// 设置整个项目的背景色
	page {
		background-color: #f5f5f5;
	}

	/* #endif */
	.example-info {
		font-size: 14px;
		color: #333;
		padding: 10px;
	}
	
		/* uni-app中的条件判断语句 */
		/* #ifdef APP-PLUS  || H5 */
		uni-swiper .uni-swiper-dot {
			width: 120rpx;
			height: 2px;
			border-radius: 0;
			background-color: #d9d9d9;
		}
		uni-swiper .uni-swiper-dot-active {
			width: 120rpx;
			height: 2px;
			background-color: #ffffff;
		}
		/* #endif */
	 
		/* #ifdef MP-WEIXIN */
		wx-swiper .wx-swiper-dot {
			width: 120rpx;
			height: 2px;
			border-radius: 0;
			background-color: #afafaf;
		}
	 
		wx-swiper .wx-swiper-dot-active {
			width: 120rpx;
			height: 2px;
			background-color: #ffffff;
		}
		/* #endif */
</style>
